//
//  FTSmartNotificationsConst.m
//  FotileStyle
//
//  Created by wangspc on 2017/5/2.
//  Copyright © 2017年 Fotile. All rights reserved.
//

#import "FTSmartNotificationsConst.h"
NSString *const FTUpdateWifiSSIDNotification = @"FTUpdateWifiSSIDNotification";

NSString *const FTOnStartNotification = @"FTOnStartNotification";
NSString *const FTOnLoginNotification = @"FTOnLoginNotification";
/// xlink 登出的通知
NSString *const FTOnLogoutNotification = @"FTOnLogoutNotification";
/// xlink 扫描到设备的通知
NSString *const FTOnGotDeviceByScanNotification = @"FTOnGotDeviceByScanNotification";
/// xlink 订阅设备的通知
NSString *const FTOnSubscriptionNotification = @"FTOnSubscriptionNotification";
/// xlink 连接上设备通知
NSString *const FTOnConnectDeviceNotification = @"FTOnConnectDeviceNotification";
/// 设备状态变化通知， 比如`上线`，`下线`通知
NSString *const FTOnDeviceStatusChangeNotification = @"FTOnDeviceStatusChangeNotification";
/// xlink 设置ACK通知
NSString *const FTOnSetDeviceAccessKeyNotification = @"FTOnSetDeviceAccessKeyNotification";
/// xlink 获取subKey通知
NSString *const FTOnGotSubKeyNotification = @"FTOnGotSubKeyNotification";
/// xlink 接收本地数据
NSString *const FTOnRecvLocalPipeDataNotification = @"FTOnRecvLocalPipeDataNotification";

NSString *const FTAddDeviceNotification = @"FTAddDeviceNotification";
NSString *const FTDeleteDeviceNotification = @"FTDeleteDeviceNotification";
NSString *const FTCancelShareNotification = @"FTCancelShareNotification";
NSString *const FTUpdateDeviceListNotification = @"FTUpdateDeviceListNotification";
/// 设备连接状态改变
NSString *const FTDeviceChangeNotification = @"FTDeviceChangeNotification";

/// 控制设备通知名
NSString *const FTOnControlSuccessNotification = @"FTOnControlSuccessNotification";
/// 开始本地菜谱
NSString *const FTOnStartLocalCookbookNotification = @"FTOnStartLocalCookbookNotification";
/// 读取设备通知名
NSString *const FTOnReadDeviceStatusNotification = @"FTOnReadDeviceStatusNotification";
/// 读取设备预约列表
NSString *const FTOnReadDeviceAppointmentListNotification = @"FTOnReadDeviceAppointmentListNotification";
/// 读取设备预约列表
NSString *const FTOnUpdateDeviceAppointmentListNotification = @"FTOnUpdateDeviceAppointmentListNotification";
/// 获取家庭列表成功通知名
NSString *const FTOnGetHomeListNotification = @"FTOnGetHomeListNotification";
/// 添加设备到家庭
NSString *const FTOnAddDeviceNotification = @"FTOnAddDeviceNotification";
/// 登录成功
NSString *const FTOnLoginSuccessNotification = @"FTOnLoginSuccessNotification";
/// 开启本地菜谱成功
NSString *const FTOnStartLocalCookbookSuccessNotification = @"FTOnStartLocalCookbookSuccessNotification";
/// 开启录制菜谱成功
NSString *const FTOnStartRecordCookbookSuccessNotification = @"FTOnStartRecordCookbookSuccessNotification";
/// 结束录制菜谱成功
NSString *const FTOnStopRecordCookbookNotification = @"FTOnStopRecordCookbookNotification";
/// 结束录制菜谱成功
NSString *const FTOnCancelRecordCookbookNotification = @"FTOnCancelRecordCookbookNotification";
/// 结束录制菜谱成功
NSString *const FTOnUploadRecordCookbookNotification = @"FTOnUploadRecordCookbookNotification";
/// 开始播放菜谱成功
NSString *const FTOnStartCookbookSuccessNotification = @"FTOnStartCookbookSuccessNotification";
/// 确认开始播放菜谱成功
NSString *const FTOnComfirmCookerRecordCookbookNotification = @"FTOnComfirmCookerRecordCookbookNotification";
/// 添加标记点成功
NSString *const FTOnAddPromptSuccessNotification = @"FTOnAddPromptSuccessNotification";
/// 发送消息成功
NSString *const FTSendOrDeleteMessageNotification = @"FTSendOrDeleteMessageNotification";
/// 消息数目变化
NSString *const FTOnMessageCountChangeNotification = @"FTOnMessageCountChangeNotification";
NSString *const FTIKCCNewDeviceMessageNotification = @"FTIKCCNewDeviceMessageNotification";

#pragma mark - 家庭信息变化通知
///接收到家庭邀请的notify
NSString *const FTOnGetDevStatusChangeNotification = @"FTOnGetDevStatusChangeNotification";
///接收到家庭邀请的notify
NSString *const FTOnGetHomeInviteNotification = @"FTOnGetHomeInviteNotification";
///接收到家庭成员变化的notify
NSString *const FTOnGetMemberChangeNotification = @"FTOnGetMemberChangeNotification";
///接收到移除家庭的notify
NSString *const FTOnGetRemoveHomeNotification = @"FTOnGetRemoveHomeNotification";
///接收到设备权限变化的notify
NSString *const FTOnChangeDeviceAuthNotification = @"FTOnChangeDeviceAuthNotification";
///接收到设备添加删除的notify
NSString *const FTOnDeviceChangeNotification = @"FTOnDeviceChangeNotification";
///接收到设备重置的notify
NSString *const FTOnDeviceResetNotification = @"FTOnDeviceResetNotification";
///接收到厂商广播通知的notify
NSString *const FTOnGetBoardcastMsgNotification = @"FTOnGetBoardcastMsgNotification";
/// 接收到设备告警通知
NSString *const FTOnGetDeviceAlarmNotification = @"FTOnGetDeviceAlarmNotification";
///接收到家庭消息或者p2p消息
NSString *const FTOnrReceiveHomeAndP2PMsgNotification = @"FTOnrReceiveHomeAndP2PMsgNotification";

NSString *const FTRecipeUpdateLocalImageDataKeyNotification = @"FTRecipeUpdateLocalImageDataKeyNotification";


NSString *const FTIKCCDeviceProductId = @"1607d4b07f982a001607d4b07f982a01";

NSString *const FTIKCCOnlineNotification = @"FTIKCCOnlineNotification";

NSString *const FTIKCCOfflineNotification = @"FTIKCCOfflineNotification";

NSString *const FTIKCCReceiveDeviceDataNotification = @"FTIKCCReceiveDeviceDataNotification";

NSString *const FTHomeSmartADImageKey = @"FTHomeSmartADImageKey";

@implementation FTSmartNotificationsConst
- (instancetype)init {
    if (self = [super init]) {
        [[XLinkExportObject sharedObject] connectDevice:nil withAccessKey:@12];
        [[HFSmartLink shareInstence] setWaitTimers:15];
        [[HFSmartLink shareInstence] startWithSSID:@"" Key:@"" withV3x:YES processblock:^(NSInteger process) {
            
        } successBlock:^(HFSmartLinkDeviceInfo *dev) {
            
        } failBlock:^(NSString *failmsg) {
            
        } endBlock:^(NSDictionary *deviceDic) {
            
        }];
    }
    return self;
}
@end
